package example.cloudsitemanagement8001.mapper;

import example.cloudsitemanagement8001.entity.SiteInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface SiteInfoMapper {
    List<SiteInfo> selectSiteInfoList(@Param("name") String name);
    SiteInfo selectSiteInfoById(Long id);
    int insertSiteInfo(SiteInfo siteInfo);
    int updateSiteInfoById(SiteInfo siteInfo);
    int deleteSiteInfoById(Long id);
}
